package com.shawn.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "focus_user")
public class FocusUser {
    private ObjectId id;
    private Long userId;
    private Long focusUserId;
    private Integer hasFocus;//是否已关注 1 是 2 否
    private Long created;
    private Long updated;
}
